package com.springioc.service;

import com.springioc.dao.AccountDaoImpl;
import com.springioc.dao.IAccountDao;
import org.springframework.beans.factory.BeanFactory;

public class AccountImpl implements IAccount{
    //调用dao层接口
//    private IAccountDao accdao= new AccountDaoImpl();
    public AccountImpl(){
        System.out.println("对象被创建了");
    }
    public void saveAccount() {
//        accdao.saveAccountDao();
        System.out.println("service方法被调用了");
    }
}
